package icasue.tools.sqlhelper.core;

import icasue.tools.sqlhelper.core.DBCol;
import icasue.tools.sqlhelper.annotation.IndexG;

import java.util.HashMap;
import java.util.Map;


/**
 * @Author: Qiao Hang
 * @CreateDate: 2021/9/30 上午11:40
 * @UpdateDate:
 * @Description:
 */
class DBTab {

    // mapping root.
    public final Map<String, DBCol> mappingRoot = new HashMap<String, DBCol>(){
        @Override
        public DBCol put(String key, DBCol value) {
            if(containsKey(key))
                return get(key);
            else return super.put(key, value);
        }
    };

    // mixed index groups.
    public IndexG[] indexGrp;
}
